Computer-MCQ Computer Organisation /MCQS on addressing modes SET 2 Sample Test,Sample questions

Question:
 If the subroutine exceeds the private space allocated to it then the values are pushed onto _________

1.Stack

2.System heap

3.Reserve Space

4.Stack frame


Question:
 The assembler stores all the names and their corresponding values in _____

1.Special purpose Register

2.Symbol Table

3. Value map Set

4.None of the mentioned


Question:
 The instructions like MOV or ADD are called as ____

1.OP-Code

2.Operators

3.Commands

4.None of the mentioned


Question:
 The order in which the return addresses are generated and used is _________

1.LIFO

2. FIFO

3.Random

4.Highest priority


Question:
 When dealing with the branching code the assembler ___________

1.Replaces the target with its address

2.Does not replace until the test condition is satisfied

3. Finds the Branch offset and replaces the Branch target with it

4.Replaces the target with the value specified by the DATAWORD directive


Question:
In case of nested subroutines the return addresses are stored in __________

1.System heap

2.Special memory buffers

3. Processor stack

4.Registers


Question:
In the case of nested subroutines, the stack top is always _________

1. The saved contents of the called sub routine

2. The saved contents of the calling sub routine

3.The return addresses of the called sub routine

4.None of the mentioned


Question:
Instructions which won’t appear in the object program are called as ___

1.Redundant instructions

2.Exceptions

3.Comments

4.Assembler Directives


Question:
 The Instruction fetch phase ends with _______

1.Placing the data from the address in MAR into MDR

2.Placing the address of the data into MAR

3.Completing the execution of the data and placing its storage address into MAR

4.Decoding the data in MDR and placing it in IR


Question:
The alternate way of writing the instruction, ADD #5,R1 is _____

1.ADD [5],[R1];

2.ADDI 5,R1;

3.ADDIME 5,[R1];

4.There is no other way


Question:
The appropriate return addresses are obtained with the help of ____ in case of nested routines.

1.MAR

2. MDR

3.Buffers

4.Stack-pointers


Question:
The assembler directive EQU, when used in the instruction: Sum EQU 200 does ____

1.Finds the first occurrence of Sum and assigns value 200 to it

2.Replaces every occurrence of Sum with 200

3.Re-assigns the address of Sum by adding 200 to its original address

4.Assigns 200 bytes of memory starting the location of Sum


Question:
The assembler stores the object code in ______

1. Main memory

2. Cache

3.RAM

4.Magnetic disk


Question:
The condition flag Z is set to 1 to indicate _____

1.The operation has resulted in an error

2.The operation requires an interrupt call

3. The result is zero

4.There is no empty register available


Question:
The data structure suitable for scheduling processes is _______

1.List

2.Heap

3.Queue

4. Stack


Question:
The directive used to perform initialization before the execution of the code is ______

1.Reserve

2.Store

3.Dataword

4.EQU


Question:
The Instruction fetch phase ends with _______

1.Placing the data from the address in MAR into MDR

2.Placing the address of the data into MAR

3.Completing the execution of the data and placing its storage address into MAR

4.Decoding the data in MDR and placing it in IR


Question:
The last statement of the source program should be _______

1.Stop

2.Return

3.OP

4.End


Question:
The location to return to, from the subroutine is stored in _______

1.TLB

2.PC

3. MAR

4.Link registers


Question:
The most efficient way of handling parameter passing is by using ______

1.General purpose registers

2. Stacks

3.Memory locations

4.None of the mentioned


Question:
The most Flexible way of logging the return addresses of the subroutines is by using _______

1.Registers

2.Stacks

3.Memory locations

4. None of the mentioned


Question:
The private space gets allocated to each subroutine when _________

1.The first statement of the routine is executed

2. When the context switch takes place

3.When the routine gets called

4.When the Allocate instruction is executed


Question:
The private work space dedicated to a subroutine is called as ________

1.System heap

2. Reserve

3. Stack frame

4.Allocation


Question:
The purpose of the ORIGIN directive is ______

1.To indicate the starting position in memory, where the program block is to be stored

2.To indicate the starting of the computation code

3.To indicate the purpose of the code

4. To list the locations of all the registers used


Question:
The reserved memory or private space of the subroutine gets deallocated when _______

1.The stop instruction is executed by the routine

2.The pointer reaches the end of the space

3.When the routine’s return statement is executed

4.None of the mentioned


Question:
The return address of the Sub-routine is pointed to by ______

1.IR

2.PC

3.MAR

4.Special memory registers


Question:
The stack frame for each subroutine is present in ______

1.Main memory

2.System Heap

3.Processor Stack

4.None of the mentioned


Question:
The sub-routine service procedure is similar to that of the interrupt service routine in ________

1.Method of context switch

2.Returning

3.Process execution

4.Method of context switch & Process execution


Question:
The utility program used to bring the object code into memory for execution is _____

1.Loader

2. Fetcher

3. Extractor

4. Linker


Question:
To overcome the problems of the assembler in dealing with branching code we use ____

1.Interpreter

2.Debugger

3.Op-Assembler

4. Two-pass assembler


Question:
What is subroutine nesting?

1. Having multiple subroutines in a program

2.Using a linking nest statement to put many subroutines under the same name

3.Having one routine call the other

4.None of the mentioned


Question:
When dealing with the branching code the assembler _____

1.Replaces the target with its address

2.Does not replace until the test condition is satisfied

3.Finds the Branch offset and replaces the Branch target with it

4.Replaces the target with the value specified by the DATAWORD directive


Question:
When parameters are being passed on to the subroutines they are stored in ________

1.Registers

2.Memory locations

3.Processor stacks

4.All of the mentioned


Question:
When using Branching, the usual sequencing of the PC is altered. A new instruction is loaded which is called as ______

1.Branch target

2.Loop target

3.Forward target

4.Jump instruction


Question:
While using the iterative construct (Branching) in execution _____________ instruction is used to check the condition.

1. TestAndSet

2.Branch

3. TestCondn

4. None of the mentioned


Question:
___ directive is used to specify and assign the memory required for the block of code.

1.Allocate

2. Assign

3.Set

4. Reserve


Question:
____ the most suitable data structure used to store the return addresses in the case of nested subroutines.

1.Heap

2. Stack

3.Queue

4.List


Question:
_____ directive specifies the end of execution of a program.

1. End

2.Return

3.Stop

4.Terminate


Question:
_____ pointer is used to point to parameters passed or local parameters of the subroutine.

1. Stack pointer

2. Frame pointer

3. Parameter register

4.Log register


Question:
______ converts the programs written in assembly language into machine instructions.

1.Machine compiler

2.Interpreter

3.Assembler

4.Converter


More MCQS

  1. Computer fundamentals
  2. Computer Basic MCQS
  3. CCC MCQ Sample Paper 1
  4. CCC Exams MCQS Sample Paper Test 2
  5. Computer Basics MCQS Paper 1
  6. Computer Basics MCQS Paper 2
  7. FUNDAMENTALS OF COMPUTERS MCQs PART 2
  8. FUNDAMENTALS OF COMPUTERS MCQs PART 1
  9. FUNDAMENTALS OF COMPUTERS MCQs PART 3
  10. Computer mcqs smaple paper 1
  11. Computer mcqs smaple paper 2
  12. Computer mcqs smaple paper 3
  13. Fundamentals of Computers
  14. Fundamentals of Computers (New) Part 1
  15. Fundamentals of Computers (New) Part 2
  16. Computer Networks MCQ Questions
  17. Computer Networks Transition from IPV4 to IPV6
  18. Computer Fundamentals (New) Part 1
  19. Computer Fundamentals (New) Part 2
  20. Computer Fundamentals (New) Part 3
  21. Computer Fundamentals (New) Part 4
  22. Computer Fundamentals (New) Part 5
  23. Computer Fundamentals (New) Part 6
  24. Computer Fundamentals (New) Part 7
  25. Computer Fundamentals (New) Part 8
  26. Operating Systems MCQs Part 1
  27. Operating Systems MCQs Part 2
  28. OS(Computer Operating Systems) Part 1
  29. OS(Computer Operating Systems) Part 2
  30. OS(Computer Operating Systems) Part 3
  31. OS(Computer Operating Systems) Part 4
  32. OS - Computer Operating Systems Part 5
  33. OS - Computer Operating Systems Part 6
  34. OS - Computer Operating Systems Part 7
  35. MS Word MCQ Questions Part 1
  36. MS Word MCQ Questions Part 2
  37. MS Word MCQ Questions Part 3
  38. MS Word MCQ Questions Part 4
  39. MS Word MCQ Questions Part 5
  40. MS Word MCQ Questions Part 7
  41. MS Word MCQ Questions Part 6
  42. Microsoft Excel MCQ Questions Part 1
  43. Microsoft Excel MCQ Questions Part 2
  44. Microsoft Excel MCQ Questions Part 3
  45. Microsoft Excel MCQ Questions Part 4
  46. Microsoft Excel MCQ Questions Part 5
  47. Microsoft Excel MCQ Questions Part 6
  48. Microsoft Excel MCQ Questions Part 7
  49. MS PowerPoint MCQ Questions PART 1
  50. MS PowerPoint MCQ Questions PART 2
  51. MS PowerPoint MCQ Questions PART 3
  52. MS PowerPoint MCQ Questions PART 4
  53. MS PowerPoint MCQ Questions PART 5
  54. MS PowerPoint MCQ Questions PART 6
  55. MS PowerPoint MCQ Questions PART 7
  56. MS Access MCQ Questions Part 1
  57. MS Access MCQ Questions Part 2
  58. MS Access MCQ Questions Part 3
  59. MS Access MCQ Questions Part 4
  60. MS Access MCQ Questions Part 5
  61. MS Access MCQ Questions Part 6
  62. MS Access MCQ Questions Part 7
  63. MS Access MCQ Questions Part 8
  64. Query of MS Access MCQS Part 1
  65. Query of MS Access MCQS Part 2
  66. Computer Communication and Networking Quiz
  67. Computer Graphics MCQ Quiz Questions and Answers
  68. Computer Basics Quiz Questions
  69. Computer Quiz Questions with Answers
  70. Computer Hardware MCQS Quiz
  71. MCQ Computer Organization & Architecture
  72. MCQ Computer Organisation - Input & output Organisation SET1
  73. MCQ Computer Organisation - Input & output Organisation SET2
  74. MCQ Computer Organisation - Input & output Organisation SET3
  75. MCQS on addressing modes SET 1
  76. MCQS on addressing modes SET 2
  77. Software Engineering MCQs SET 1
  78. Software Engineering MCQs SET 2
  79. Software Engineering MCQs Set 3
  80. Software Engineering MCQs Set 4
  81. Software Engineering MCQs Set 5
  82. Software Engineering MCQs Set 6
  83. Software Engineering MCQs Set 7
  84. mcqs data structures
  85. CCC Exam Sample MCQ Paper
  86. Computer MCQ Questions set-1
  87. Computer MCQ Questions set-2
  88. Computer MCQ Questions set-3
  89. Current affairs mcq Database management
  90. Programming arcitecture
  91. Computer Graphics MCQ Questions part 1
  92. Computer Graphics MCQ Questions part 2
  93. Computer Awareness MCQs and Quiz for Banking, IBPS, RRB, RBI, SBI Exams pART 1
  94. Computer Awareness MCQs and Quiz for Banking, IBPS, RRB, RBI, SBI Exams pART 2
  95. Computer Science MCQs
  96. Computer Mcq Question
  97. MCQs based on Fundamentals of Computer 1 set
  98. Computer Mcq Question set 2
  99. MCQ Encoding Schemes
  100. Data Entry and Keyboarding Skills MCQ
  101. Computer Science Number System
  102. Computer Network MCQ
  103. MCQ Questions on Tally
  104. MCQ Questions on Tally Set 2
  105. MCQ Questions on Tally Set 3
  106. MCQ Questions on Tally Set 4
  107. Internet Technology MCQ Questions for Competitive Exams
  108. Computer Software MCQ GK Questions
  109. Computer Organization and Architecture MCQs
  110. Basic Computer GK Questions
  111. Computer Graphics MCQ Set 1
  112. Operating System MCQ Set 1
  113. Operating System MCQ Set 2
  114. Operating System MCQ Set 3
  115. Operating System MCQ Set 4
  116. Operating System MCQ Set 5
  117. Operating System MCQ Set 6
  118. Operating System MCQ Set 7
  119. Operating System MCQ Set 8
  120. Operating System MCQ Set 9
  121. Operating System MCQ Set 10
  122. Operating System MCQ Set 11
  123. Operating System MCQ Set 12
  124. Operating System MCQ Set 13
  125. Operating System MCQ Set 14
  126. Operating System MCQ Set 15
  127. Operating System MCQ Set 16
  128. Operating System MCQ Set 17
  129. Operating System MCQ Set 18
  130. Operating System MCQ Set 19
  131. Operating System MCQ Set 20
  132. Operating System MCQ Set 21
  133. Computer Graphics MCQ Question Set 1
  134. Computer Networks MCQs
  135. Computer Networks MCQs Set-2
  136. Computer Networks MCQs Set-3
  137. Computer Networks MCQs Set-4
  138. Bachelor of Computer Applications MCQs set-1
  139. Bachelor of Computer Applications MCQs set-2
  140. NET Programming MCQ
  141. Artificial Intelligence and Robotics (AIR) Set 1
  142. Artificial Intelligence and Robotics (AIR) Set 2
  143. Computer Engineering Soft Computing Set 1
  144. Computer Engineering Soft Computing Set 2
  145. COMPUTERS AND IT MCQs QUESTIONS
  146. Ancient Indian History MCQ
Search
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!